package org.example.myleet.p653;

import org.example.myleet.Utils.Assert;
import org.example.myleet.Utils.Parser;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(solution.findTarget(Parser.parse(new Integer[]{5,3,6,2,4,null,7}), 9));
        Assert.isTrue(!solution.findTarget(Parser.parse(new Integer[]{5,3,6,2,4,null,7}), 28));
        Assert.isTrue(solution.findTarget(Parser.parse(new Integer[]{2,1,3}), 4));
        Assert.isTrue(!solution.findTarget(Parser.parse(new Integer[]{1}), 2));
    }
}
